package com.tz.colawallet.ui.module;


import com.tz.colawallet.ui.biz.MainSecondFragBiz;
import com.tz.colawallet.ui.contract.MainSecondFragContract;

import dagger.Module;
import dagger.Provides;

/**
 * Created by xuweihua on 16/8/31.
 */
@Module
public class MainSecondFragModule {
    private MainSecondFragContract.View view;

    public MainSecondFragModule(MainSecondFragContract.View view) {
        this.view = view;
    }

    @Provides
    public MainSecondFragContract.View provideView() {
        return view;
    }

    @Provides
    public MainSecondFragBiz provideBiz() {
        return new MainSecondFragBiz();
    }
}